package cn.zn.modules.loan.old.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.zn.framework.common.utils.PageUtils;
import cn.zn.modules.loan.old.entity.TLoanDetailEntity;

import java.util.List;

/**
 * @author zn
 * @email zhunahao@qq.com
 * @date 2020-05-11 09:11:48
 */
public interface TLoanDetailService extends IService<TLoanDetailEntity> {

    PageUtils queryPage(TLoanDetailEntity tLoanDetail, IPage<TLoanDetailEntity> page);

    /**
     * 查询借款信息
     *
     * @param applyCode
     * @return
     */
    TLoanDetailEntity findByApplyCode(String applyCode);

    /**
     * 查询借款信息
     *
     * @param applyCodes
     * @return
     */
    List<TLoanDetailEntity> findByApplyCode(List<String> applyCodes);
}

